ProductName propriété
Gets or sets the name of the product to which SQL Server can connect through the OLE DB Provider.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property ProductName As String
Get
Set
'Utilisation
Dim instance As LinkedServer
Dim value As String
value = instance.ProductName
instance.ProductName = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public string ProductName { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property String^ ProductName {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member ProductName : string with get, set
function get ProductName () : String
function set ProductName (value : String)
Valeur de la propriété
Type : System. . :: . .String
A String value that specifies the name of the product.
Voir aussi