Méthode TryGetPropertyValue (String, Object)
Attempts to get the property value. 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
Function TryGetPropertyValue ( _
name As String, _
<OutAttribute> ByRef value As Object _
) As Boolean
'Utilisation
Dim instance As ISfcPropertySet
Dim name As String
Dim value As Object
Dim returnValue As Boolean
returnValue = instance.TryGetPropertyValue(name, _
value)
bool TryGetPropertyValue(
string name,
out Object value
)
bool TryGetPropertyValue(
String^ name,
[OutAttribute] Object^% value
)
abstract TryGetPropertyValue :
name:string *
value:Object byref -> bool
function TryGetPropertyValue(
name : String,
value : Object
) : boolean
Paramètres
- name
Type : System. . :: . .String
The name of the property.
- value
Type : System. . :: . .Object%
An ISfcProperty object that represents property value.
Valeur de retour
Type : System. . :: . .Boolean
true if the property value is successfully retrieved; otherwise, false.