Méthode TryGetPropertyValue(T) (String, T)
Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Public Function TryGetPropertyValue(Of T) ( _
propertyName As String, _
<OutAttribute> ByRef value As T _
) As Boolean
'Utilisation
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 ne prend pas en charge les types et les méthodes génériques.
Paramètres de type
- T
Paramètres
- propertyName
Type : System. . :: . .String
A string that represents the property name.
- value
Type : T%
The value of the object in the collection.
Valeur de retour
Type : System. . :: . .Boolean
true if the Property tries to get its property value; otherwise, false.
Implémente
ISfcPropertySet. . :: . .TryGetPropertyValue< (Of < <' (T> ) > > )(String, T%)