Sign In
Michiel Wories' WebLog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Blog Home
Email Blog Author
Share this
RSS for posts
Atom
RSS for comments
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
FAQ
Microsoft
Netherlands/Europe
Pages
Personal
Powershell
SMO Samples
SQL Server
Windows Azure
WMI Samples
Archive
Archives
March 2012
(1)
September 2009
(1)
June 2009
(1)
September 2008
(1)
June 2008
(4)
November 2006
(1)
February 2006
(1)
January 2006
(1)
October 2005
(8)
July 2005
(3)
June 2005
(5)
May 2005
(6)
April 2005
(2)
December 2004
(1)
SMO Sample: Enable TCP/IP Server protocol of SQL Server 2005
MSDN Blogs
>
Michiel Wories' WebLog
>
SMO Sample: Enable TCP/IP Server protocol of SQL Server 2005
SMO Sample: Enable TCP/IP Server protocol of SQL Server 2005
mwories
10 Feb 2006 8:09 PM
Comments
4
Purpose of sample: Enable the TCP/IP server protocol.
This sample shows you how to change a server protocol setting. This sample assumes you have SQL Express installed. You need to change the instance name to match the instance name you have installed.
ManagedComputer
mc =
new
ManagedComputer
();
mc.ServerInstances[
"SQLEXPRESS"
].ServerProtocols[
"Tcp"
].IsEnabled =
true
;
4 Comments
SMO Samples
,
Pages
Blog - Comment List MSDN TechNet
Comments
Loading...