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.
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
Public Function TryGetProperty ( _
propertyName As String, _
<OutAttribute> ByRef property As ISfcProperty _
) As Boolean
'Usage
Dim instance As SfcPropertyCollection
Dim propertyName As String
Dim property As ISfcProperty
Dim returnValue As Boolean
returnValue = instance.TryGetProperty(propertyName, _
property)
public bool TryGetProperty(
string propertyName,
out ISfcProperty property
)
public:
virtual bool TryGetProperty(
String^ propertyName,
[OutAttribute] ISfcProperty^% property
) sealed
abstract TryGetProperty :
propertyName:string *
property:ISfcProperty byref -> bool
override TryGetProperty :
propertyName:string *
property:ISfcProperty byref -> bool
public final function TryGetProperty(
propertyName : String,
property : ISfcProperty
) : boolean
Parameter
- propertyName
Typ: System.String
A string that represents the property name.
- property
Typ: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty%
The SfcProperty in the collection.
Rückgabewert
Typ: System.Boolean
true if property tries to get its specified property; otherwise, false.
Implementiert
ISfcPropertySet.TryGetProperty(String, ISfcProperty%)