Initializes a new instance of SmsSiteConnectionNode for the specified site and server information. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
Dim parent As SmsRootConsoleNode
Dim serverName As String
Dim siteCode As String
Dim siteName As String
Dim persistenceData As Byte()

Dim instance As New SmsSiteConnectionNode(parent, serverName, siteCode, siteName, persistenceData)

Syntax

Visual Basic
Public Sub New ( _
		parent As SmsRootConsoleNode, _
		serverName As String, _
		siteCode As String, _
		siteName As String, _
		persistenceData As Byte() _
)
C#
public SmsSiteConnectionNode (
		SmsRootConsoleNode parent,
		string serverName,
		string siteCode,
		string siteName,
		byte[] persistenceData
)
C++
public:
SmsSiteConnectionNode (
		SmsRootConsoleNode^ parent, 
		String^ serverName, 
		String^ siteCode, 
		String^ siteName, 
		array<unsigned char>^ persistenceData
)
J#
public SmsSiteConnectionNode (
		SmsRootConsoleNode parent, 
		String serverName, 
		String siteCode, 
		String siteName, 
		byte[] persistenceData
)
JScript
public function SmsSiteConnectionNode (
		parent : SmsRootConsoleNode, 
		serverName : String, 
		siteCode : String, 
		siteName : String, 
		persistenceData : byte[]
)

Parameters

parent

[in] SmsRootConsoleNode object that represents the parent of the site connection node.

serverName

[in] Name of the server.

siteCode

[in] Site code for the server site.

siteName

[in] Name of the site.

persistenceData

[in] Array of persistence data.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also