Método TryGetPropertyValue (String, Object)
Attempts to get the property value. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxe
'Declaração
Function TryGetPropertyValue ( _
name As String, _
<OutAttribute> ByRef value As Object _
) As Boolean
'Uso
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
Parâmetros
- name
Tipo: System. . :: . .String
The name of the property.
- value
Tipo: System. . :: . .Object%
An ISfcProperty object that represents property value.
Valor de retorno
Tipo: System. . :: . .Boolean
true if the property value is successfully retrieved; otherwise, false.
Consulte também