Share via


Propriété SqlServerName

Gets the name of the Microsoft SQL Server instance to which this object is connected.

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property SqlServerName As String
    Get
'Utilisation
Dim instance As ReplicationObject
Dim value As String

value = instance.SqlServerName
public string SqlServerName { get; }
public:
property String^ SqlServerName {
    String^ get ();
}
member SqlServerName : string
function get SqlServerName () : String

Valeur de propriété

Type : System. . :: . .String
A String value.

Notes

This property is available with SQL Server 7.0, SQL Server 2000, and SQL Server 2005.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.