Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Indicates the accessor for the property by name and usage, (for internal use). Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Protected Function TryGetProperty ( _
name As String, _
usage As ObjectPropertyUsages _
) As ObjectProperty
'Usage
Dim name As String
Dim usage As ObjectPropertyUsages
Dim returnValue As ObjectProperty
returnValue = Me.TryGetProperty(name, _
usage)
protected ObjectProperty TryGetProperty(
string name,
ObjectPropertyUsages usage
)
protected:
ObjectProperty^ TryGetProperty(
String^ name,
ObjectPropertyUsages usage
)
member TryGetProperty :
name:string *
usage:ObjectPropertyUsages -> ObjectProperty
protected function TryGetProperty(
name : String,
usage : ObjectPropertyUsages
) : ObjectProperty
Parameter
- name
Typ: System.String
The name of the property.
- usage
Typ: Microsoft.SqlServer.Management.Sdk.Sfc.ObjectPropertyUsages
The intended usage.
Rückgabewert
Typ: Microsoft.SqlServer.Management.Sdk.Sfc.ObjectProperty
Null if the property does not meet the usage requirements or does not exist, else the corresponding property object.