Compartilhar via


Método Package.Serialize (String)

Serializes the package to the file system.

Namespace:  Microsoft.MasterDataServices.Deployment
Assembly:  Microsoft.MasterDataServices.Deployment (em Microsoft.MasterDataServices.Deployment.dll)

Sintaxe

'Declaração
Public Sub Serialize ( _
    packageFileName As String _
)
'Uso
Dim instance As Package 
Dim packageFileName As String

instance.Serialize(packageFileName)
public void Serialize(
    string packageFileName
)
public:
void Serialize(
    String^ packageFileName
)
member Serialize : 
        packageFileName:string -> unit
public function Serialize(
    packageFileName : String
)

Parâmetros

  • packageFileName
    Tipo: System.String
    The full path and file name specifying where to save the package file.

Comentários

Serialize throws ArgumentNullException if packageFileName is nulluma referência nula (Nothing no Visual Basic) or empty.

Serialize throws DeploymentException if validation of the package fails.

Consulte também

Referência

Package Classe

Sobrecarregado Serialize

Namespace Microsoft.MasterDataServices.Deployment