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 TryGetPropertyValue(Of T) ( _
propertyName As String, _
<OutAttribute> ByRef value As T _
) As Boolean
'Usage
Dim instance As SfcPropertyCollection
Dim propertyName As String
Dim value As T
Dim returnValue As Boolean
returnValue = instance.TryGetPropertyValue(propertyName, _
value)
public bool TryGetPropertyValue<T>(
string propertyName,
out T value
)
public:
generic<typename T>
virtual bool TryGetPropertyValue(
String^ propertyName,
[OutAttribute] T% value
) sealed
abstract TryGetPropertyValue :
propertyName:string *
value:'T byref -> bool
override TryGetPropertyValue :
propertyName:string *
value:'T byref -> bool
JScript bietet keine Unterstützung für die Verwendung generischer Typen und Methoden.
Typparameter
- T
Parameter
- propertyName
Typ: System.String
A string that represents the property name.
- value
Typ: T%
The value of the object in the collection.
Rückgabewert
Typ: System.Boolean
true if the Property tries to get its property value; otherwise, false.
Implementiert
ISfcPropertySet.TryGetPropertyValue<T>(String, T%)