Partilhar via


SmsSiteConnectionNode Constructor (SmsRootConsoleNode, String, String, String, String, Byte[])

Initializes a new instance of SmsSiteConnectionNode for the specified site and server information and indication of nodes to hide.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim parent As SmsRootConsoleNode
Dim serverName As String
Dim siteCode As String
Dim siteName As String
Dim nodesToHide As String
Dim persistenceData As Byte()

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

Syntax

'Declaration
Public Sub New ( _
    parent As SmsRootConsoleNode, _
    serverName As String, _
    siteCode As String, _
    siteName As String, _
    nodesToHide As String, _
    persistenceData As Byte() _
)
public SmsSiteConnectionNode (
    SmsRootConsoleNode parent,
    string serverName,
    string siteCode,
    string siteName,
    string nodesToHide,
    byte[] persistenceData
)
public:
SmsSiteConnectionNode (
    SmsRootConsoleNode^ parent, 
    String^ serverName, 
    String^ siteCode, 
    String^ siteName, 
    String^ nodesToHide, 
    array<unsigned char>^ persistenceData
)
public SmsSiteConnectionNode (
    SmsRootConsoleNode parent, 
    String serverName, 
    String siteCode, 
    String siteName, 
    String nodesToHide, 
    byte[] persistenceData
)
public function SmsSiteConnectionNode (
    parent : SmsRootConsoleNode, 
    serverName : String, 
    siteCode : String, 
    siteName : String, 
    nodesToHide : 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.
  • nodesToHide
    [in] Nodes to hide for the site connection node.
  • persistenceData
    [in] Array of persistence data.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

SmsSiteConnectionNode Class
SmsSiteConnectionNode Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
SmsRootConsoleNode Class